package com.keepsport.keepsportapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (TCommunityLogt)实体类
 *
 * @author makejava
 * @since 2022-07-01 21:40:48
 */
@Data
@NoArgsConstructor
@TableName("t_community_logt")
public class CommunityLogt implements Serializable {
    private static final long serialVersionUID = 184680713141586902L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 查看话题的用户id
     */
    private Integer uid;
    /**
     * 用户查看的话题id
     */
    private Integer tid;

    public CommunityLogt(Integer uid, Integer tid) {
        this.uid = uid;
        this.tid = tid;
    }
}

